-
Home
-
WooPayments: Integrated WooCommerce Payments
-
10.0.0 (latest)
-
Code
-
Classes
- WooCommerceProductAddOns
| Total Complexity |
64 |
| Dependencies |
4 |
| Dependents |
1 |
| Total lines |
315 |
| Lines of code |
180 |
| Logical lines of code |
126 |
| Comment lines |
102 |
| Methods |
8 |
| Properties |
0 |
Methods 8
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| get_item_data() |
B |
42 |
21 |
45 |
| order_line_item_meta() |
B |
45 |
17 |
36 |
| update_product_price() |
A |
40 |
14 |
58 |
| init() |
S |
55 |
5 |
17 |
| should_convert_product_price() |
S |
66 |
3 |
9 |
| get_addons_price() |
S |
70 |
2 |
6 |
| product_addons_params() |
S |
70 |
1 |
6 |
| get_product_calculation_price() |
S |
78 |
1 |
3 |